Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to secp256k1 signature support #964

Merged
merged 3 commits into from
Sep 1, 2021

Conversation

thanethomson
Copy link
Contributor

Updates #962, incorporating feedback from review.

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Added entry in .changelog/

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
@thanethomson
Copy link
Contributor Author

The kvstore integration test's failing non-deterministically again (first time in ages):

Caused by:
    Internal error: tx (497684D2A447D8B073E8D71A8F690AC3C4D4B99D13085B46E5D886850577A0DD) not found (code: -32603)

Unrelated to the work in this PR.

@thanethomson thanethomson merged commit d294d9b into romac/939-secp256k1-signatures Sep 1, 2021
@thanethomson thanethomson deleted the thane/939-secp256k1 branch September 1, 2021 15:33
thanethomson added a commit that referenced this pull request Sep 1, 2021
* Show underlying detail in some signature errors

* Add support for Secp256k1 signatures

* Represent Signature as a wrapper over a byte array

* Cleanup

* Fix warning when `secp256k1` feature is disabled

* Add .changelog entry

* Updates to secp256k1 signature support (#964)

* Add fallible constructor for Signature to facilitate TryFrom<&[u8]>

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Add Ed25519 test vectors from RFC

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Add test vectors for secp256k1 signature validation

Signed-off-by: Thane Thomson <connect@thanethomson.com>

Co-authored-by: Thane Thomson <thane@informal.systems>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants